On (Dynamic) Range Minimum Queries in External Memory

نویسندگان

  • Lars Arge
  • Johannes Fischer
  • Peter Sanders
  • Nodari Sitchinava
چکیده

We study the one-dimensional range minimum query (RMQ) problem in the external memory model. We provide the first spaceoptimal solution to the batched static version of the problem. On an instance with N elements and Q queries, our solution takes Θ(sort(N + Q)) = Θ ( N+Q B logM/B N+Q B ) I/O complexity and O(N + Q) space, where M is the size of the main memory and B is the block size. This is a factor of O(logM/B N) improvement in space complexity over the previous solutions. We also show that an instance of the batched dynamic RMQ problem with N updates and Q queries can be solved in O ( N+Q B log2M/B N+Q B ) I/O complexity and O(N +Q) space.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

External Memory Three-Sided Range Reporting and Top-k Queries with Sublogarithmic Updates

An external memory data structure is presented for maintaining a dynamic set ofN two-dimensional points under the insertion and deletion of points, and supporting unsorted 3-sided range reporting queries and top-k queries, where top-k queries report the k points with highest y-value within a given x-range. For any constant 0 < ε ≤ 1 2 , a data structure is constructed that supports updates in a...

متن کامل

Dynamic Range Reporting in External Memory

In this paper we describe a dynamic external memory data structure that supports range reporting queries in three dimensions in O(logB N + k B ) I/O operations, where k is the number of points in the answer and B is the block size. This is the first dynamic data structure that answers three-dimensional range reporting queries in log O(1)

متن کامل

I/O-Efficient Range Minima Queries

In this paper we study the offline (batched) range minima query (RMQ) problem in the external memory (EM) and cache-oblivious (CO) models. In the static RMQ problem, given an array A, a query rmqA(i, j) returns the smallest element in the range A[i, j]. IfB is the size of the block andm is the number of blocks that fit in the internal memory in the EM and CO models, we show that Q range minima ...

متن کامل

Dynamic Data Structures: Orthogonal Range Queries and Update Efficiency

English) We study dynamic data structures for different variants of orthogonal range reporting query problems. In particular, we consider (1) the planar orthogonal 3-sided range reporting problem: given a set of points in the plane, report the points that lie within a given 3-sided rectangle with one unbounded side, (2) the planar orthogonal range maxima reporting problem: given a set of points...

متن کامل

ارائه روشی پویا جهت پاسخ به پرس‌وجوهای پیوسته تجمّعی اقتضایی

Data Streams are infinite, fast, time-stamp data elements which are received explosively. Generally, these elements need to be processed in an online, real-time way. So, algorithms to process data streams and answer queries on these streams are mostly one-pass. The execution of such algorithms has some challenges such as memory limitation, scheduling, and accuracy of answers. They will be more ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013